﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Heavy_Metals
{
    public partial class YJPDXX_WXHXP : Form
    {
        public YJPDXX_WXHXP()
        {
            InitializeComponent();
        }

        private void YJPDXX_WXHXP_Load(object sender, EventArgs e)
        {
            this.dataGridView1.Columns.Add("化学品名称", "化学品名称");
            this.dataGridView1.Columns.Add("对应CAS号", "对应CAS号");
            this.dataGridView1.Columns.Add("化学品类型", "化学品类型");
            this.dataGridView1.Columns.Add("挥发性", "挥发性");
            this.dataGridView1.Columns.Add("溶解性", "溶解性");
            this.dataGridView1.Columns.Add("应急处理处置方法", "应急处理处置方法");
            this.dataGridView1.Rows.Add("砷","A11","重金属","不挥发","易溶解","密封");
            this.dataGridView1.Rows.Add("铬", "A12", "重金属", "不挥发", "不溶解", "避光，密封");

            this.dataGridView2.Columns.Add("CAS号", "CAS号");
            this.dataGridView2.Columns.Add("标准名称", "标准名称");
            this.dataGridView2.Columns.Add("限值", "限值");
            this.dataGridView2.Rows.Add("A12","铬","XX");

            this.dataGridView3.Columns.Add("CAS号", "CAS号");
            this.dataGridView3.Columns.Add("化学品名称", "化学品名称");
            this.dataGridView3.Columns.Add("分子式", "分子式");
            this.dataGridView3.Columns.Add("外观性状", "外观性状");
            this.dataGridView3.Columns.Add("熔点", "熔点");
            this.dataGridView3.Columns.Add("沸点", "沸点");
            this.dataGridView3.Columns.Add("密度", "密度");
            this.dataGridView3.Columns.Add("溶解性", "溶解性");
            this.dataGridView3.Columns.Add("挥发性", "挥发性");
            this.dataGridView3.Columns.Add("毒性", "毒性");
            this.dataGridView3.Rows.Add("A11","砷","As","晶体","300","500","234","易溶解","不挥发","有毒");

            this.dataGridView4.Columns.Add("CAS号", "CAS号");
            this.dataGridView4.Columns.Add("常规检测方法", "常规检测方法");
            this.dataGridView4.Columns.Add("应急监测方法", "应急监测方法");
            this.dataGridView4.Rows.Add("A11","专家回收","XXX");
            this.dataGridView4.Rows.Add("A12", "专家回收", "远观呈XX色");

            this.dataGridView5.Columns.Add("CAS号", "CAS号");
            this.dataGridView5.Columns.Add("应急处理处置方法", "应急处理处置方法");
            this.dataGridView5.Columns.Add("防护措施", "防护措施");
            this.dataGridView5.Columns.Add("急救措施", "急救措施");
            this.dataGridView5.Rows.Add("A11","隔离","穿戴化学服装","化学医院");
            this.dataGridView5.Rows.Add("A12", "隔离", "穿戴化学服装", "化疗");

        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.dataGridView1.Rows.Clear();
            this.dataGridView1.Rows.Add("砷", "A11", "重金属", "不挥发", "易溶解", "密封");

            this.dataGridView2.Rows.Clear();

            this.dataGridView3.Rows.Clear();
            this.dataGridView3.Rows.Add("A11", "砷", "As", "晶体", "300", "500", "234", "易溶解", "不挥发", "有毒");

            this.dataGridView4.Rows.Clear();
            this.dataGridView4.Rows.Add("A11", "专家回收", "XXX");

            this.dataGridView5.Rows.Clear();
            this.dataGridView5.Rows.Add("A11", "隔离", "穿戴化学服装", "化学医院");


        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.textBox1.Text = "";
            this.textBox2.Text = "";
        }
    }
}
